package com.hsnn.medstgmini.base.dict.model.form;

import java.io.Serializable;
import java.util.Date;


/**
 *剂型字典
 * @author xugp
 *@date 2015年6月9日 下午3:15:26
 *
 */

public class DicDrugformtoForm implements Serializable {

	
	private static final long serialVersionUID = 1L;
	private String formId;
	private String formCode;
	private String formName;
	private String fatherId;
	private int status;
	private Date updDatetime;
	private String updUser;
	private int sortId;
//	private DicDrugForm father;
	
	
	private String fatherDrugformCode;
	private String fatherDrugformName;
	
	
	
	public String getFormId() {
		return formId;
	}
	public void setFormId(String formId) {
		this.formId = formId;
	}
	public String getFormCode() {
		if (fatherDrugformCode == null || "".equals(fatherDrugformCode )){
			this.setFatherDrugformCode(formCode);
			formCode = "";
		}
		return formCode;
	}
	public void setFormCode(String formCode) {
		this.formCode = formCode;
	}
	public String getFormName() {
		if (fatherDrugformName == null || "".equals(fatherDrugformName )){
			this.setFatherDrugformName(formName);
			formName = "";
		}
		return formName;
	}
	public void setFormName(String formName) {
		this.formName = formName;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getUpdDatetime() {
		return updDatetime;
	}
	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}
	public String getUpdUser() {
		return updUser;
	}
	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	public int getSortId() {
		return sortId;
	}
	public void setSortId(int sortId) {
		this.sortId = sortId;
	}
//	public DicDrugForm getFather() {
//		return father;
//	}
//	public void setFather(DicDrugForm father) {
//		this.father = father;
//	}
	public String getFatherDrugformCode() {
		return fatherDrugformCode;
	}
	public void setFatherDrugformCode(String fatherDrugformCode) {
		this.fatherDrugformCode = fatherDrugformCode;
	}
	public String getFatherDrugformName() {
		return fatherDrugformName;
	}
	public void setFatherDrugformName(String fatherDrugformName) {
		this.fatherDrugformName = fatherDrugformName;
	}
	public String getFatherId() {
		return fatherId;
	}
	public void setFatherId(String fatherId) {
		this.fatherId = fatherId;
	}
	public void setUpdDatetime(String string) {
		// TODO Auto-generated method stub
		
	}
	
	
	
	
	
	
	
}
